package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.ProductInfoSubscribeScheduleEnum;
import com.sc.nft.enums.ProductInfoSubscribeSourceEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
/**
 * 用户申购码(DigitalCollectionProductInfoSubscribeCode)表实体类
 *
 * @author 王伟成
 * @since 2024-05-15 18:32:38
 */
@Data
@TableName("sc_digital_collection_product_info_subscribe_code")
@ApiModel(value = "sc_digital_collection_product_info_subscribe_code 对象", description = "用户申购码")
public class DigitalCollectionProductInfoSubscribeCode extends SuperEntity implements Serializable {
    @ApiModelProperty(value = "用户userid")
    private Long userId;

    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "申购码")
    private String subscribeCode;

    @ApiModelProperty(value = "道具id")
    private Long propId;

    @ApiModelProperty(value = "来源 0:免费,1:道具")
    private ProductInfoSubscribeSourceEnum sourece;

    @ApiModelProperty(value = "用户道具表使用的道具id")
    private Long userEquityPropsId;

    @ApiModelProperty(value = "申购进度")
    private ProductInfoSubscribeScheduleEnum schedule;

}
